package com.wayhome.springfarmework.context.support;

import java.io.IOException;

public class ClassPathXmlApplicationContext extends AbstractXmlApplicationContext {


    private String [] configLocations;

    public ClassPathXmlApplicationContext(){

    }

    public ClassPathXmlApplicationContext(String configLocation) throws IOException {
        this(new String[]{configLocation});
    }

    public ClassPathXmlApplicationContext(String[] configLocations) throws IOException {
        this.configLocations = configLocations;
        refresh();
    }

    @Override
    protected String[] getConfigLocations() {
        return this.configLocations;
    }

}
